↳ Prolog
↳ PrologToPiTRSProof
merge_in_gga([], X, X) → merge_out_gga([], X, X)
merge_in_gga(X, [], X) → merge_out_gga(X, [], X)
merge_in_gga(.(X, Xs), .(Y, Ys), .(X, Zs)) → U1_gga(X, Xs, Y, Ys, Zs, leq_in_gg(X, Y))
leq_in_gg(0, 0) → leq_out_gg(0, 0)
leq_in_gg(0, s(0)) → leq_out_gg(0, s(0))
leq_in_gg(s(X), s(Y)) → U6_gg(X, Y, leq_in_gg(X, Y))
U6_gg(X, Y, leq_out_gg(X, Y)) → leq_out_gg(s(X), s(Y))
U1_gga(X, Xs, Y, Ys, Zs, leq_out_gg(X, Y)) → U2_gga(X, Xs, Y, Ys, Zs, merge_in_gga(Xs, .(Y, Ys), Zs))
merge_in_gga(.(X, Xs), .(Y, Ys), .(Y, Zs)) → U3_gga(X, Xs, Y, Ys, Zs, less_in_gg(Y, X))
less_in_gg(0, s(0)) → less_out_gg(0, s(0))
less_in_gg(s(X), s(Y)) → U5_gg(X, Y, less_in_gg(X, Y))
U5_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U3_gga(X, Xs, Y, Ys, Zs, less_out_gg(Y, X)) → U4_gga(X, Xs, Y, Ys, Zs, merge_in_gga(.(X, Xs), Ys, Zs))
U4_gga(X, Xs, Y, Ys, Zs, merge_out_gga(.(X, Xs), Ys, Zs)) → merge_out_gga(.(X, Xs), .(Y, Ys), .(Y, Zs))
U2_gga(X, Xs, Y, Ys, Zs, merge_out_gga(Xs, .(Y, Ys), Zs)) → merge_out_gga(.(X, Xs), .(Y, Ys), .(X, Zs))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
merge_in_gga([], X, X) → merge_out_gga([], X, X)
merge_in_gga(X, [], X) → merge_out_gga(X, [], X)
merge_in_gga(.(X, Xs), .(Y, Ys), .(X, Zs)) → U1_gga(X, Xs, Y, Ys, Zs, leq_in_gg(X, Y))
leq_in_gg(0, 0) → leq_out_gg(0, 0)
leq_in_gg(0, s(0)) → leq_out_gg(0, s(0))
leq_in_gg(s(X), s(Y)) → U6_gg(X, Y, leq_in_gg(X, Y))
U6_gg(X, Y, leq_out_gg(X, Y)) → leq_out_gg(s(X), s(Y))
U1_gga(X, Xs, Y, Ys, Zs, leq_out_gg(X, Y)) → U2_gga(X, Xs, Y, Ys, Zs, merge_in_gga(Xs, .(Y, Ys), Zs))
merge_in_gga(.(X, Xs), .(Y, Ys), .(Y, Zs)) → U3_gga(X, Xs, Y, Ys, Zs, less_in_gg(Y, X))
less_in_gg(0, s(0)) → less_out_gg(0, s(0))
less_in_gg(s(X), s(Y)) → U5_gg(X, Y, less_in_gg(X, Y))
U5_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U3_gga(X, Xs, Y, Ys, Zs, less_out_gg(Y, X)) → U4_gga(X, Xs, Y, Ys, Zs, merge_in_gga(.(X, Xs), Ys, Zs))
U4_gga(X, Xs, Y, Ys, Zs, merge_out_gga(.(X, Xs), Ys, Zs)) → merge_out_gga(.(X, Xs), .(Y, Ys), .(Y, Zs))
U2_gga(X, Xs, Y, Ys, Zs, merge_out_gga(Xs, .(Y, Ys), Zs)) → merge_out_gga(.(X, Xs), .(Y, Ys), .(X, Zs))
MERGE_IN_GGA(.(X, Xs), .(Y, Ys), .(X, Zs)) → U1_GGA(X, Xs, Y, Ys, Zs, leq_in_gg(X, Y))
MERGE_IN_GGA(.(X, Xs), .(Y, Ys), .(X, Zs)) → LEQ_IN_GG(X, Y)
LEQ_IN_GG(s(X), s(Y)) → U6_GG(X, Y, leq_in_gg(X, Y))
LEQ_IN_GG(s(X), s(Y)) → LEQ_IN_GG(X, Y)
U1_GGA(X, Xs, Y, Ys, Zs, leq_out_gg(X, Y)) → U2_GGA(X, Xs, Y, Ys, Zs, merge_in_gga(Xs, .(Y, Ys), Zs))
U1_GGA(X, Xs, Y, Ys, Zs, leq_out_gg(X, Y)) → MERGE_IN_GGA(Xs, .(Y, Ys), Zs)
MERGE_IN_GGA(.(X, Xs), .(Y, Ys), .(Y, Zs)) → U3_GGA(X, Xs, Y, Ys, Zs, less_in_gg(Y, X))
MERGE_IN_GGA(.(X, Xs), .(Y, Ys), .(Y, Zs)) → LESS_IN_GG(Y, X)
LESS_IN_GG(s(X), s(Y)) → U5_GG(X, Y, less_in_gg(X, Y))
LESS_IN_GG(s(X), s(Y)) → LESS_IN_GG(X, Y)
U3_GGA(X, Xs, Y, Ys, Zs, less_out_gg(Y, X)) → U4_GGA(X, Xs, Y, Ys, Zs, merge_in_gga(.(X, Xs), Ys, Zs))
U3_GGA(X, Xs, Y, Ys, Zs, less_out_gg(Y, X)) → MERGE_IN_GGA(.(X, Xs), Ys, Zs)
merge_in_gga([], X, X) → merge_out_gga([], X, X)
merge_in_gga(X, [], X) → merge_out_gga(X, [], X)
merge_in_gga(.(X, Xs), .(Y, Ys), .(X, Zs)) → U1_gga(X, Xs, Y, Ys, Zs, leq_in_gg(X, Y))
leq_in_gg(0, 0) → leq_out_gg(0, 0)
leq_in_gg(0, s(0)) → leq_out_gg(0, s(0))
leq_in_gg(s(X), s(Y)) → U6_gg(X, Y, leq_in_gg(X, Y))
U6_gg(X, Y, leq_out_gg(X, Y)) → leq_out_gg(s(X), s(Y))
U1_gga(X, Xs, Y, Ys, Zs, leq_out_gg(X, Y)) → U2_gga(X, Xs, Y, Ys, Zs, merge_in_gga(Xs, .(Y, Ys), Zs))
merge_in_gga(.(X, Xs), .(Y, Ys), .(Y, Zs)) → U3_gga(X, Xs, Y, Ys, Zs, less_in_gg(Y, X))
less_in_gg(0, s(0)) → less_out_gg(0, s(0))
less_in_gg(s(X), s(Y)) → U5_gg(X, Y, less_in_gg(X, Y))
U5_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U3_gga(X, Xs, Y, Ys, Zs, less_out_gg(Y, X)) → U4_gga(X, Xs, Y, Ys, Zs, merge_in_gga(.(X, Xs), Ys, Zs))
U4_gga(X, Xs, Y, Ys, Zs, merge_out_gga(.(X, Xs), Ys, Zs)) → merge_out_gga(.(X, Xs), .(Y, Ys), .(Y, Zs))
U2_gga(X, Xs, Y, Ys, Zs, merge_out_gga(Xs, .(Y, Ys), Zs)) → merge_out_gga(.(X, Xs), .(Y, Ys), .(X, Zs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
MERGE_IN_GGA(.(X, Xs), .(Y, Ys), .(X, Zs)) → U1_GGA(X, Xs, Y, Ys, Zs, leq_in_gg(X, Y))
MERGE_IN_GGA(.(X, Xs), .(Y, Ys), .(X, Zs)) → LEQ_IN_GG(X, Y)
LEQ_IN_GG(s(X), s(Y)) → U6_GG(X, Y, leq_in_gg(X, Y))
LEQ_IN_GG(s(X), s(Y)) → LEQ_IN_GG(X, Y)
U1_GGA(X, Xs, Y, Ys, Zs, leq_out_gg(X, Y)) → U2_GGA(X, Xs, Y, Ys, Zs, merge_in_gga(Xs, .(Y, Ys), Zs))
U1_GGA(X, Xs, Y, Ys, Zs, leq_out_gg(X, Y)) → MERGE_IN_GGA(Xs, .(Y, Ys), Zs)
MERGE_IN_GGA(.(X, Xs), .(Y, Ys), .(Y, Zs)) → U3_GGA(X, Xs, Y, Ys, Zs, less_in_gg(Y, X))
MERGE_IN_GGA(.(X, Xs), .(Y, Ys), .(Y, Zs)) → LESS_IN_GG(Y, X)
LESS_IN_GG(s(X), s(Y)) → U5_GG(X, Y, less_in_gg(X, Y))
LESS_IN_GG(s(X), s(Y)) → LESS_IN_GG(X, Y)
U3_GGA(X, Xs, Y, Ys, Zs, less_out_gg(Y, X)) → U4_GGA(X, Xs, Y, Ys, Zs, merge_in_gga(.(X, Xs), Ys, Zs))
U3_GGA(X, Xs, Y, Ys, Zs, less_out_gg(Y, X)) → MERGE_IN_GGA(.(X, Xs), Ys, Zs)
merge_in_gga([], X, X) → merge_out_gga([], X, X)
merge_in_gga(X, [], X) → merge_out_gga(X, [], X)
merge_in_gga(.(X, Xs), .(Y, Ys), .(X, Zs)) → U1_gga(X, Xs, Y, Ys, Zs, leq_in_gg(X, Y))
leq_in_gg(0, 0) → leq_out_gg(0, 0)
leq_in_gg(0, s(0)) → leq_out_gg(0, s(0))
leq_in_gg(s(X), s(Y)) → U6_gg(X, Y, leq_in_gg(X, Y))
U6_gg(X, Y, leq_out_gg(X, Y)) → leq_out_gg(s(X), s(Y))
U1_gga(X, Xs, Y, Ys, Zs, leq_out_gg(X, Y)) → U2_gga(X, Xs, Y, Ys, Zs, merge_in_gga(Xs, .(Y, Ys), Zs))
merge_in_gga(.(X, Xs), .(Y, Ys), .(Y, Zs)) → U3_gga(X, Xs, Y, Ys, Zs, less_in_gg(Y, X))
less_in_gg(0, s(0)) → less_out_gg(0, s(0))
less_in_gg(s(X), s(Y)) → U5_gg(X, Y, less_in_gg(X, Y))
U5_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U3_gga(X, Xs, Y, Ys, Zs, less_out_gg(Y, X)) → U4_gga(X, Xs, Y, Ys, Zs, merge_in_gga(.(X, Xs), Ys, Zs))
U4_gga(X, Xs, Y, Ys, Zs, merge_out_gga(.(X, Xs), Ys, Zs)) → merge_out_gga(.(X, Xs), .(Y, Ys), .(Y, Zs))
U2_gga(X, Xs, Y, Ys, Zs, merge_out_gga(Xs, .(Y, Ys), Zs)) → merge_out_gga(.(X, Xs), .(Y, Ys), .(X, Zs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
LESS_IN_GG(s(X), s(Y)) → LESS_IN_GG(X, Y)
merge_in_gga([], X, X) → merge_out_gga([], X, X)
merge_in_gga(X, [], X) → merge_out_gga(X, [], X)
merge_in_gga(.(X, Xs), .(Y, Ys), .(X, Zs)) → U1_gga(X, Xs, Y, Ys, Zs, leq_in_gg(X, Y))
leq_in_gg(0, 0) → leq_out_gg(0, 0)
leq_in_gg(0, s(0)) → leq_out_gg(0, s(0))
leq_in_gg(s(X), s(Y)) → U6_gg(X, Y, leq_in_gg(X, Y))
U6_gg(X, Y, leq_out_gg(X, Y)) → leq_out_gg(s(X), s(Y))
U1_gga(X, Xs, Y, Ys, Zs, leq_out_gg(X, Y)) → U2_gga(X, Xs, Y, Ys, Zs, merge_in_gga(Xs, .(Y, Ys), Zs))
merge_in_gga(.(X, Xs), .(Y, Ys), .(Y, Zs)) → U3_gga(X, Xs, Y, Ys, Zs, less_in_gg(Y, X))
less_in_gg(0, s(0)) → less_out_gg(0, s(0))
less_in_gg(s(X), s(Y)) → U5_gg(X, Y, less_in_gg(X, Y))
U5_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U3_gga(X, Xs, Y, Ys, Zs, less_out_gg(Y, X)) → U4_gga(X, Xs, Y, Ys, Zs, merge_in_gga(.(X, Xs), Ys, Zs))
U4_gga(X, Xs, Y, Ys, Zs, merge_out_gga(.(X, Xs), Ys, Zs)) → merge_out_gga(.(X, Xs), .(Y, Ys), .(Y, Zs))
U2_gga(X, Xs, Y, Ys, Zs, merge_out_gga(Xs, .(Y, Ys), Zs)) → merge_out_gga(.(X, Xs), .(Y, Ys), .(X, Zs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
LESS_IN_GG(s(X), s(Y)) → LESS_IN_GG(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
LESS_IN_GG(s(X), s(Y)) → LESS_IN_GG(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
LEQ_IN_GG(s(X), s(Y)) → LEQ_IN_GG(X, Y)
merge_in_gga([], X, X) → merge_out_gga([], X, X)
merge_in_gga(X, [], X) → merge_out_gga(X, [], X)
merge_in_gga(.(X, Xs), .(Y, Ys), .(X, Zs)) → U1_gga(X, Xs, Y, Ys, Zs, leq_in_gg(X, Y))
leq_in_gg(0, 0) → leq_out_gg(0, 0)
leq_in_gg(0, s(0)) → leq_out_gg(0, s(0))
leq_in_gg(s(X), s(Y)) → U6_gg(X, Y, leq_in_gg(X, Y))
U6_gg(X, Y, leq_out_gg(X, Y)) → leq_out_gg(s(X), s(Y))
U1_gga(X, Xs, Y, Ys, Zs, leq_out_gg(X, Y)) → U2_gga(X, Xs, Y, Ys, Zs, merge_in_gga(Xs, .(Y, Ys), Zs))
merge_in_gga(.(X, Xs), .(Y, Ys), .(Y, Zs)) → U3_gga(X, Xs, Y, Ys, Zs, less_in_gg(Y, X))
less_in_gg(0, s(0)) → less_out_gg(0, s(0))
less_in_gg(s(X), s(Y)) → U5_gg(X, Y, less_in_gg(X, Y))
U5_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U3_gga(X, Xs, Y, Ys, Zs, less_out_gg(Y, X)) → U4_gga(X, Xs, Y, Ys, Zs, merge_in_gga(.(X, Xs), Ys, Zs))
U4_gga(X, Xs, Y, Ys, Zs, merge_out_gga(.(X, Xs), Ys, Zs)) → merge_out_gga(.(X, Xs), .(Y, Ys), .(Y, Zs))
U2_gga(X, Xs, Y, Ys, Zs, merge_out_gga(Xs, .(Y, Ys), Zs)) → merge_out_gga(.(X, Xs), .(Y, Ys), .(X, Zs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
LEQ_IN_GG(s(X), s(Y)) → LEQ_IN_GG(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
LEQ_IN_GG(s(X), s(Y)) → LEQ_IN_GG(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
MERGE_IN_GGA(.(X, Xs), .(Y, Ys), .(Y, Zs)) → U3_GGA(X, Xs, Y, Ys, Zs, less_in_gg(Y, X))
MERGE_IN_GGA(.(X, Xs), .(Y, Ys), .(X, Zs)) → U1_GGA(X, Xs, Y, Ys, Zs, leq_in_gg(X, Y))
U1_GGA(X, Xs, Y, Ys, Zs, leq_out_gg(X, Y)) → MERGE_IN_GGA(Xs, .(Y, Ys), Zs)
U3_GGA(X, Xs, Y, Ys, Zs, less_out_gg(Y, X)) → MERGE_IN_GGA(.(X, Xs), Ys, Zs)
merge_in_gga([], X, X) → merge_out_gga([], X, X)
merge_in_gga(X, [], X) → merge_out_gga(X, [], X)
merge_in_gga(.(X, Xs), .(Y, Ys), .(X, Zs)) → U1_gga(X, Xs, Y, Ys, Zs, leq_in_gg(X, Y))
leq_in_gg(0, 0) → leq_out_gg(0, 0)
leq_in_gg(0, s(0)) → leq_out_gg(0, s(0))
leq_in_gg(s(X), s(Y)) → U6_gg(X, Y, leq_in_gg(X, Y))
U6_gg(X, Y, leq_out_gg(X, Y)) → leq_out_gg(s(X), s(Y))
U1_gga(X, Xs, Y, Ys, Zs, leq_out_gg(X, Y)) → U2_gga(X, Xs, Y, Ys, Zs, merge_in_gga(Xs, .(Y, Ys), Zs))
merge_in_gga(.(X, Xs), .(Y, Ys), .(Y, Zs)) → U3_gga(X, Xs, Y, Ys, Zs, less_in_gg(Y, X))
less_in_gg(0, s(0)) → less_out_gg(0, s(0))
less_in_gg(s(X), s(Y)) → U5_gg(X, Y, less_in_gg(X, Y))
U5_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U3_gga(X, Xs, Y, Ys, Zs, less_out_gg(Y, X)) → U4_gga(X, Xs, Y, Ys, Zs, merge_in_gga(.(X, Xs), Ys, Zs))
U4_gga(X, Xs, Y, Ys, Zs, merge_out_gga(.(X, Xs), Ys, Zs)) → merge_out_gga(.(X, Xs), .(Y, Ys), .(Y, Zs))
U2_gga(X, Xs, Y, Ys, Zs, merge_out_gga(Xs, .(Y, Ys), Zs)) → merge_out_gga(.(X, Xs), .(Y, Ys), .(X, Zs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
MERGE_IN_GGA(.(X, Xs), .(Y, Ys), .(Y, Zs)) → U3_GGA(X, Xs, Y, Ys, Zs, less_in_gg(Y, X))
MERGE_IN_GGA(.(X, Xs), .(Y, Ys), .(X, Zs)) → U1_GGA(X, Xs, Y, Ys, Zs, leq_in_gg(X, Y))
U1_GGA(X, Xs, Y, Ys, Zs, leq_out_gg(X, Y)) → MERGE_IN_GGA(Xs, .(Y, Ys), Zs)
U3_GGA(X, Xs, Y, Ys, Zs, less_out_gg(Y, X)) → MERGE_IN_GGA(.(X, Xs), Ys, Zs)
less_in_gg(0, s(0)) → less_out_gg(0, s(0))
less_in_gg(s(X), s(Y)) → U5_gg(X, Y, less_in_gg(X, Y))
leq_in_gg(0, 0) → leq_out_gg(0, 0)
leq_in_gg(0, s(0)) → leq_out_gg(0, s(0))
leq_in_gg(s(X), s(Y)) → U6_gg(X, Y, leq_in_gg(X, Y))
U5_gg(X, Y, less_out_gg(X, Y)) → less_out_gg(s(X), s(Y))
U6_gg(X, Y, leq_out_gg(X, Y)) → leq_out_gg(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
MERGE_IN_GGA(.(X, Xs), .(Y, Ys)) → U3_GGA(X, Xs, Y, Ys, less_in_gg(Y, X))
U3_GGA(X, Xs, Y, Ys, less_out_gg) → MERGE_IN_GGA(.(X, Xs), Ys)
U1_GGA(X, Xs, Y, Ys, leq_out_gg) → MERGE_IN_GGA(Xs, .(Y, Ys))
MERGE_IN_GGA(.(X, Xs), .(Y, Ys)) → U1_GGA(X, Xs, Y, Ys, leq_in_gg(X, Y))
less_in_gg(0, s(0)) → less_out_gg
less_in_gg(s(X), s(Y)) → U5_gg(less_in_gg(X, Y))
leq_in_gg(0, 0) → leq_out_gg
leq_in_gg(0, s(0)) → leq_out_gg
leq_in_gg(s(X), s(Y)) → U6_gg(leq_in_gg(X, Y))
U5_gg(less_out_gg) → less_out_gg
U6_gg(leq_out_gg) → leq_out_gg
less_in_gg(x0, x1)
leq_in_gg(x0, x1)
U5_gg(x0)
U6_gg(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MERGE_IN_GGA(.(X, Xs), .(Y, Ys)) → U3_GGA(X, Xs, Y, Ys, less_in_gg(Y, X))
MERGE_IN_GGA(.(X, Xs), .(Y, Ys)) → U1_GGA(X, Xs, Y, Ys, leq_in_gg(X, Y))
Used ordering: Polynomial interpretation [25]:
U3_GGA(X, Xs, Y, Ys, less_out_gg) → MERGE_IN_GGA(.(X, Xs), Ys)
U1_GGA(X, Xs, Y, Ys, leq_out_gg) → MERGE_IN_GGA(Xs, .(Y, Ys))
POL(.(x1, x2)) = 1 + x1 + x2
POL(0) = 0
POL(MERGE_IN_GGA(x1, x2)) = x1 + x2
POL(U1_GGA(x1, x2, x3, x4, x5)) = 1 + x2 + x3 + x4
POL(U3_GGA(x1, x2, x3, x4, x5)) = 1 + x1 + x2 + x4
POL(U5_gg(x1)) = 0
POL(U6_gg(x1)) = 0
POL(leq_in_gg(x1, x2)) = 0
POL(leq_out_gg) = 0
POL(less_in_gg(x1, x2)) = 1 + x1 + x2
POL(less_out_gg) = 0
POL(s(x1)) = x1
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
U3_GGA(X, Xs, Y, Ys, less_out_gg) → MERGE_IN_GGA(.(X, Xs), Ys)
U1_GGA(X, Xs, Y, Ys, leq_out_gg) → MERGE_IN_GGA(Xs, .(Y, Ys))
less_in_gg(0, s(0)) → less_out_gg
less_in_gg(s(X), s(Y)) → U5_gg(less_in_gg(X, Y))
leq_in_gg(0, 0) → leq_out_gg
leq_in_gg(0, s(0)) → leq_out_gg
leq_in_gg(s(X), s(Y)) → U6_gg(leq_in_gg(X, Y))
U5_gg(less_out_gg) → less_out_gg
U6_gg(leq_out_gg) → leq_out_gg
less_in_gg(x0, x1)
leq_in_gg(x0, x1)
U5_gg(x0)
U6_gg(x0)